
//
//  CommonConstant.swift
//  MLWeiBo
//
//  Created by wenxing on 2017/1/7.
//  Copyright © 2017年 Se7venX. All rights reserved.
//

import Foundation
import UIKit


func RandomColor() -> UIColor {
    let r = CGFloat(arc4random() % 256) / 255.0
    let g = CGFloat(arc4random() % 256) / 255.0
    let b = CGFloat(arc4random() % 256) / 255.0
    return UIColor(red: r, green:g, blue: b, alpha: 1)
}



//第三方登录授权配置信息
let AppKey = "2811600570"
let AppSecret = "27024b67aef1997b1bb566b3791b5296"
let App_redirect_uri = "http://www.itheima.com"


//请求微博权限页面
let urlString_oauth = "https://api.weibo.com/oauth2/authorize"

//请求权限令牌
let urlString_access_token = "https://api.weibo.com/oauth2/access_token"


//获取个人信息
let urlString_userInfo = "https://api.weibo.com/2/users/show.json"

// 用户首页信息
let urlString_homeStatus = "https://api.weibo.com/2/statuses/home_timeline.json"














